<template>
  <div id="appp" class="has-header">
    <div id="nav">
      <router-link :to="{name:'yiqingmap'}">累计确诊</router-link>|
      <router-link :to="{name:'about'}">疫情动态</router-link>
    </div>
    <router-view />
  </div>
</template>
<script>
/* eslint-disable */
export default {
  data() {
    return {};
  },
  mounted() {
    console.log(123);
  }
};
</script>
<style>
#appp {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 3rem;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
